package com.net.xpay.web.dto;

import com.net.xpay.core.enums.AlipayUserStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * 2020/4/29 14:52

 * 渠道用户支付宝账户
 */
@Getter
@Setter
@NoArgsConstructor
public class ChannelAlipayUserDto  {

    @ApiModelProperty(notes = "支付宝账号")
    private String alipayNickName;

    @ApiModelProperty(notes = "签约状态")
    private AlipayUserStatus status;

    @ApiModelProperty(notes = "签约过期时间")
    private LocalDateTime expiresIn;

    public static ChannelAlipayUserDto getInstance() {
        return new ChannelAlipayUserDto();
    }
}
